﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/UserHome.Master" CodeBehind="FAQ.aspx.vb" Inherits="LEAD.WebForm1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <tr>
        <td>
        <form  id="form1" runat="server">
        <table width="100%">
        <tr style="width:100%; height:100%"><td style="width:100%; height:100%">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>

        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" 
            SelectCommand="SELECT [Question], [Answer] FROM [FAQ] ORDER BY [ID]"></asp:SqlDataSource>

 <asp:Accordion id="acc1" runat="server" DataSourceID="SqlDataSource1" ContentCssClass="Accordioncontent" HeaderCssClass="Accordionheader">  
<HeaderTemplate>
<a href="" onclick="return false;"><%#Eval("Question")%></a>
</HeaderTemplate>
<ContentTemplate>
<%#Eval("Answer")%>
</ContentTemplate>
<Panes>
</Panes>
</asp:Accordion> 
</td></tr>
</table>
</form>
        </td>
    </tr>
</asp:Content>

